package com.ls.knowledge.llm.service;

import com.ls.knowledge.llm.dto.ChatMessageDto;
import com.ls.knowledge.llm.vo.MessageVo;
import org.springframework.web.multipart.MultipartFile;
import reactor.core.publisher.Flux;

public interface ChatService  {


    Flux<MessageVo> chatStream(ChatMessageDto dto);


    String chat(ChatMessageDto dto);

    /**
     * 上传文件到对话中
     * @param file
     * @param conversationId
     */
    void uploadFileToConversation(MultipartFile file, String conversationId);
}
